<template>
  <div class="table">
    <el-table :data="tableData" style="width: 100%" stripe border>
      <el-table-column label="id" width="50" prop="id" align="center"></el-table-column>
      <el-table-column label="姓名" width="80" prop="name" align="center"></el-table-column>
      <el-table-column label="年龄" width="80" prop="age" align="center"></el-table-column>
      <el-table-column label="电话" width="180" prop="moblie" align="center"></el-table-column>
      <el-table-column label="邮箱" width="250" prop="email"></el-table-column>
      <el-table-column label="状态" width="250" prop="online">
      </el-table-column>
    </el-table>
    <!-- 分页 -->
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="currentPage4"
      :page-sizes="[100, 200, 300, 400]"
      :page-size="100"
      layout="total, sizes, prev, pager, next, jumper"
      :total="400"
    ></el-pagination>
  </div>
</template>
<script>
export default {
  data() {
    return {
      tableData: null,
      currentPage4:1
    };
  },
  
  methods: {
    handleSizeChange(newv){
      console.log(newv);
      
    },
    handleCurrentChange(newvl){
      console.log(newvl);
    },
  }
};
</script>
<style scoped>
</style>